package com.atguigu.lease.common.constant;

public class RedisConstant {
    public static final String ADMIN_LOGIN_PREFIX = "admin:login:";//后台保存验证码的前缀
    public static final Integer ADMIN_LOGIN_CAPTCHA_TTL_SEC = 60;//后台验证码保存的时间
    public static final String APP_LOGIN_PREFIX = "app:login:";//移动端保存验证码的前缀
    public static final Integer APP_LOGIN_CODE_RESEND_TIME_SEC = 60;//重新发送的时间
    public static final Integer APP_LOGIN_CODE_TTL_SEC = 60*5;//redis保存的时间

}
